package com.example.obs.service.DepartmentService;

import com.example.obs.model.domin.Department;

import java.util.List;
import java.util.Map;

public interface DepartmentService {

    /**
     * 部门列表查询
     * @param department
     * @return Department
     */
    List<Department> selectDepartment(Department department);

    /**
     * 添加部门
     * @param department
     * @return
     */
    int addDepartment (Department department);

    void deleteDepartment(Integer id);

    int updateName(Department department);

    List<Department> ListDepartment();



}
